From: Florian Müllner Date: Wed, 24 Feb 2021 22:26:56 +0000 (+0100) Subject: workspaceThumbnail: Queue state update after expanding X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~616^2^2~176 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=fac50fb50e6775b7aa291b714d46e5a3203f61fc;p=gnome-shell.git workspaceThumbnail: Queue state update after expanding New workspaces are added in two steps, first the minimap expands to make room for the new thumbnail, then the thumbnail animates in. However we currently don't queue a state update after the first step, so the second one only happens after one is queued by some other event (like a workspace switch). https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3748 Part-of: --- diff --git a/js/ui/workspaceThumbnail.js b/js/ui/workspaceThumbnail.js index e805c4f52..17d29d0d1 100644 --- a/js/ui/workspaceThumbnail.js +++ b/js/ui/workspaceThumbnail.js @@ -1208,6 +1208,7 @@ var ThumbnailsBox = GObject.registerClass({ mode: Clutter.AnimationMode.EASE_OUT_QUAD, onComplete: () => { this._setThumbnailState(thumbnail, ThumbnailState.EXPANDED); + this._queueUpdateStates(); }, }); });